﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006E7 RID: 1767
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFriendBattleRecordDetailScRsp : IMessage<GetFriendBattleRecordDetailScRsp>, IMessage, IEquatable<GetFriendBattleRecordDetailScRsp>, IDeepCloneable<GetFriendBattleRecordDetailScRsp>, IBufferMessage
	{
		// Token: 0x170016B1 RID: 5809
		// (get) Token: 0x06004F91 RID: 20369 RVA: 0x000D8C83 File Offset: 0x000D6E83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFriendBattleRecordDetailScRsp> Parser
		{
			get
			{
				return GetFriendBattleRecordDetailScRsp._parser;
			}
		}

		// Token: 0x170016B2 RID: 5810
		// (get) Token: 0x06004F92 RID: 20370 RVA: 0x000D8C8A File Offset: 0x000D6E8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFriendBattleRecordDetailScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170016B3 RID: 5811
		// (get) Token: 0x06004F93 RID: 20371 RVA: 0x000D8C9C File Offset: 0x000D6E9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFriendBattleRecordDetailScRsp.Descriptor;
			}
		}

		// Token: 0x06004F94 RID: 20372 RVA: 0x000D8CA3 File Offset: 0x000D6EA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendBattleRecordDetailScRsp()
		{
		}

		// Token: 0x06004F95 RID: 20373 RVA: 0x000D8CB8 File Offset: 0x000D6EB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendBattleRecordDetailScRsp(GetFriendBattleRecordDetailScRsp other) : this()
		{
			this.eMJMIJLCCCF_ = other.eMJMIJLCCCF_.Clone();
			this.oDOGGCNMCHG_ = ((other.oDOGGCNMCHG_ != null) ? other.oDOGGCNMCHG_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.uid_ = other.uid_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004F96 RID: 20374 RVA: 0x000D8D21 File Offset: 0x000D6F21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendBattleRecordDetailScRsp Clone()
		{
			return new GetFriendBattleRecordDetailScRsp(this);
		}

		// Token: 0x170016B4 RID: 5812
		// (get) Token: 0x06004F97 RID: 20375 RVA: 0x000D8D29 File Offset: 0x000D6F29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PDCBFEBJEDH> EMJMIJLCCCF
		{
			get
			{
				return this.eMJMIJLCCCF_;
			}
		}

		// Token: 0x170016B5 RID: 5813
		// (get) Token: 0x06004F98 RID: 20376 RVA: 0x000D8D31 File Offset: 0x000D6F31
		// (set) Token: 0x06004F99 RID: 20377 RVA: 0x000D8D39 File Offset: 0x000D6F39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NGLEMPDONFB ODOGGCNMCHG
		{
			get
			{
				return this.oDOGGCNMCHG_;
			}
			set
			{
				this.oDOGGCNMCHG_ = value;
			}
		}

		// Token: 0x170016B6 RID: 5814
		// (get) Token: 0x06004F9A RID: 20378 RVA: 0x000D8D42 File Offset: 0x000D6F42
		// (set) Token: 0x06004F9B RID: 20379 RVA: 0x000D8D4A File Offset: 0x000D6F4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170016B7 RID: 5815
		// (get) Token: 0x06004F9C RID: 20380 RVA: 0x000D8D53 File Offset: 0x000D6F53
		// (set) Token: 0x06004F9D RID: 20381 RVA: 0x000D8D5B File Offset: 0x000D6F5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x06004F9E RID: 20382 RVA: 0x000D8D64 File Offset: 0x000D6F64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFriendBattleRecordDetailScRsp);
		}

		// Token: 0x06004F9F RID: 20383 RVA: 0x000D8D74 File Offset: 0x000D6F74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFriendBattleRecordDetailScRsp other)
		{
			return other != null && (other == this || (this.eMJMIJLCCCF_.Equals(other.eMJMIJLCCCF_) && object.Equals(this.ODOGGCNMCHG, other.ODOGGCNMCHG) && this.Retcode == other.Retcode && this.Uid == other.Uid && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004FA0 RID: 20384 RVA: 0x000D8DE8 File Offset: 0x000D6FE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.eMJMIJLCCCF_.GetHashCode();
			if (this.oDOGGCNMCHG_ != null)
			{
				num ^= this.ODOGGCNMCHG.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004FA1 RID: 20385 RVA: 0x000D8E64 File Offset: 0x000D7064
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004FA2 RID: 20386 RVA: 0x000D8E6C File Offset: 0x000D706C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004FA3 RID: 20387 RVA: 0x000D8E78 File Offset: 0x000D7078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.oDOGGCNMCHG_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.ODOGGCNMCHG);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			this.eMJMIJLCCCF_.WriteTo(ref output, GetFriendBattleRecordDetailScRsp._repeated_eMJMIJLCCCF_codec);
			if (this.Uid != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004FA4 RID: 20388 RVA: 0x000D8F00 File Offset: 0x000D7100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.eMJMIJLCCCF_.CalculateSize(GetFriendBattleRecordDetailScRsp._repeated_eMJMIJLCCCF_codec);
			if (this.oDOGGCNMCHG_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ODOGGCNMCHG);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004FA5 RID: 20389 RVA: 0x000D8F84 File Offset: 0x000D7184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFriendBattleRecordDetailScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.eMJMIJLCCCF_.Add(other.eMJMIJLCCCF_);
			if (other.oDOGGCNMCHG_ != null)
			{
				if (this.oDOGGCNMCHG_ == null)
				{
					this.ODOGGCNMCHG = new NGLEMPDONFB();
				}
				this.ODOGGCNMCHG.MergeFrom(other.ODOGGCNMCHG);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004FA6 RID: 20390 RVA: 0x000D9011 File Offset: 0x000D7211
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004FA7 RID: 20391 RVA: 0x000D901C File Offset: 0x000D721C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 18U)
					{
						if (this.oDOGGCNMCHG_ == null)
						{
							this.ODOGGCNMCHG = new NGLEMPDONFB();
						}
						input.ReadMessage(this.ODOGGCNMCHG);
						continue;
					}
					if (num == 24U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 90U)
					{
						this.eMJMIJLCCCF_.AddEntriesFrom(ref input, GetFriendBattleRecordDetailScRsp._repeated_eMJMIJLCCCF_codec);
						continue;
					}
					if (num == 112U)
					{
						this.Uid = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001F4D RID: 8013
		private static readonly MessageParser<GetFriendBattleRecordDetailScRsp> _parser = new MessageParser<GetFriendBattleRecordDetailScRsp>(() => new GetFriendBattleRecordDetailScRsp());

		// Token: 0x04001F4E RID: 8014
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F4F RID: 8015
		public const int EMJMIJLCCCFFieldNumber = 11;

		// Token: 0x04001F50 RID: 8016
		private static readonly FieldCodec<PDCBFEBJEDH> _repeated_eMJMIJLCCCF_codec = FieldCodec.ForMessage<PDCBFEBJEDH>(90U, PDCBFEBJEDH.Parser);

		// Token: 0x04001F51 RID: 8017
		private readonly RepeatedField<PDCBFEBJEDH> eMJMIJLCCCF_ = new RepeatedField<PDCBFEBJEDH>();

		// Token: 0x04001F52 RID: 8018
		public const int ODOGGCNMCHGFieldNumber = 2;

		// Token: 0x04001F53 RID: 8019
		private NGLEMPDONFB oDOGGCNMCHG_;

		// Token: 0x04001F54 RID: 8020
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04001F55 RID: 8021
		private uint retcode_;

		// Token: 0x04001F56 RID: 8022
		public const int UidFieldNumber = 14;

		// Token: 0x04001F57 RID: 8023
		private uint uid_;
	}
}
